package Server;

import java.io.BufferedReader;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.PrintWriter;
import java.net.Socket;

/*
* 一个用户应有的属性
* 1. 用户名
* 2. 游戏中的状态（猜方或绘画方)
* 3. 该用户对应套接字的流
* */
public class User {
    private String userName;
    private String status = "GUESS";
    public PrintWriter pw;
    public BufferedReader buf;
    public ObjectInputStream ois;
    public ObjectOutputStream oos;
    public String subject;

    public User() {

    }






















    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}
